/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package util.task.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 *
 * @author rdelacruz
 */
public class TareaPrueba implements Job {
    
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("¡Hola, mundo !!! :D");
        
        /*
            Logger logger = Logger.getLogger("milogger");
            logger.log(Level.DEBUG, "PRUEBA");
            
            System.out.println("TAREA DE PRUEBA");
            
            JobKey jobKey = jec.getJobDetail().getKey();
            String msg = "SimpleJob says: " + jobKey + " executing at " + new Date();
            System.out.println(msg);
        */
    }
}